﻿using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;

namespace YK.Test
{
    [TestClass]
    public class UnitTest1
    {
        [TestMethod]
        public void TestMethod1()
        {
            string dateStr = "2013-12-23";
            int showTime = 1259;
            var test = showTime / 100.23;
            var test1 = showTime % 100;
            DateTime date = Convert.ToDateTime(dateStr);
            date.AddHours(showTime / 100);
            date.AddMinutes(showTime% 100);
                 
            //DateTime showDateTime = new DateTime(showDate.Split('-')[0].ToInt(), showDate.Split('-')[1].ToInt(), showDate.Split('-')[2].ToInt(), (int)(showTime.ToInt() / 100), (int)(showTime.ToInt() % 100), 0);

            Assert.IsTrue(true);
        }
    }
}
